package com.syxx.oa.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * 用人申请表
 * @author pyc
 *
 */
@Entity
@Table(name="t_personnelRequirement")
public class PersonnelRequirement implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final String NEW = "新建";
	public static final String END = "结束";
	private Long _id;
    private Department department;//招聘部门
    private Employee createEmp;//填表人员
    private String stationName;//岗位名称
    private Date createTime;//填表日期
    private Date happenTime;//
    private String positionTime;//到岗时间
    private String recruitReason;//招聘原因
    private int recruitNum;//招聘人数
    private String jobExplain;//说明
    private String jobDescription;//岗位描述
    private String proReq;//专业要求
    private String workExp;//工作经验
    private String sex;//性别
    private int age;//年龄
    private String quality;//能力/素质
    private String tecRequest;//技能要求
    private String depMgrOpinion;//部门经理 意见
    private String leaOption;//上级主管领导意见
    private String hrOption;//人力资源部意见
    private String hrLeaOption;//人力资源部主管领导意见
    private String viceGeMgrOption;//副总意  见
    private String viceGeMgrSign;//副总签字
    private String geMgrOption;//总经理意见
    private String geMgrSign;//总经理签字
    private String status;
    private String processName;
    
    
    
    
    
    
    public String getProcessName() {
		return processName;
	}
	public void setProcessName(String processName) {
		this.processName = processName;
	}
	private Set<ApproveInfo_1> approveInfoSet_;
    
    
    public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@OneToMany(mappedBy="perReq")
    public Set<ApproveInfo_1> getApproveInfoSet_() {
		return approveInfoSet_;
	}
	public void setApproveInfoSet_(Set<ApproveInfo_1> approveInfoSet_) {
		this.approveInfoSet_ = approveInfoSet_;
	}
	
	
	@ManyToOne
	public Department getDepartment() {
		return department;
	}
	
	
	
	public void setDepartment(Department department) {
		this.department = department;
	}
	@Id @GeneratedValue
	public Long get_id() {
		return _id;
	}
	public void set_id(Long _id) {
		this._id = _id;
	}
	public String getStationName() {
		return stationName;
	}
	public void setStationName(String stationName) {
		this.stationName = stationName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	public String getPositionTime() {
		return positionTime;
	}
	public void setPositionTime(String positionTime) {
		this.positionTime = positionTime;
	}
	public String getRecruitReason() {
		return recruitReason;
	}
	public void setRecruitReason(String recruitReason) {
		this.recruitReason = recruitReason;
	}
	public int getRecruitNum() {
		return recruitNum;
	}
	public void setRecruitNum(int recruitNum) {
		this.recruitNum = recruitNum;
	}
	
	public String getJobExplain() {
		return jobExplain;
	}
	public void setJobExplain(String jobExplain) {
		this.jobExplain = jobExplain;
	}
	public String getJobDescription() {
		return jobDescription;
	}
	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}
	public String getProReq() {
		return proReq;
	}
	public void setProReq(String proReq) {
		this.proReq = proReq;
	}
	public String getWorkExp() {
		return workExp;
	}
	public void setWorkExp(String workExp) {
		this.workExp = workExp;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getQuality() {
		return quality;
	}
	public void setQuality(String quality) {
		this.quality = quality;
	}
	public String getTecRequest() {
		return tecRequest;
	}
	public void setTecRequest(String tecRequest) {
		this.tecRequest = tecRequest;
	}
	public String getDepMgrOpinion() {
		return depMgrOpinion;
	}
	public void setDepMgrOpinion(String depMgrOpinion) {
		this.depMgrOpinion = depMgrOpinion;
	}
	public String getLeaOption() {
		return leaOption;
	}
	public void setLeaOption(String leaOption) {
		this.leaOption = leaOption;
	}
	public String getHrOption() {
		return hrOption;
	}
	public void setHrOption(String hrOption) {
		this.hrOption = hrOption;
	}
	public String getHrLeaOption() {
		return hrLeaOption;
	}
	public void setHrLeaOption(String hrLeaOption) {
		this.hrLeaOption = hrLeaOption;
	}
	public String getViceGeMgrOption() {
		return viceGeMgrOption;
	}
	public void setViceGeMgrOption(String viceGeMgrOption) {
		this.viceGeMgrOption = viceGeMgrOption;
	}
	public String getViceGeMgrSign() {
		return viceGeMgrSign;
	}
	public void setViceGeMgrSign(String viceGeMgrSign) {
		this.viceGeMgrSign = viceGeMgrSign;
	}
	public String getGeMgrOption() {
		return geMgrOption;
	}
	public void setGeMgrOption(String geMgrOption) {
		this.geMgrOption = geMgrOption;
	}
	public String getGeMgrSign() {
		return geMgrSign;
	}
	public void setGeMgrSign(String geMgrSign) {
		this.geMgrSign = geMgrSign;
	}
	
	
	public Date getHappenTime() {
		return happenTime;
	}
	
	@ManyToOne
	public Employee getCreateEmp() {
		return createEmp;
	}
	public void setCreateEmp(Employee createEmp) {
		this.createEmp = createEmp;
	}
	public void setHappenTime(Date happenTime) {
		this.happenTime = happenTime;
	}


}
